﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WsdShop.Model.ViewModels
{
    public class FreightManageResponse: FreightTemplate
    {
        public bool IsUsing { get; set; }
        public List<FreightTemplateDetails> FreightDetail { get; set; }
    }

    public class FreightTemplateDetails: FreightTemplateDetail
    {
        public List<string> AreaNames { get; set; }
    }

    public class FreightResponse
    {
        public int TemplateId { get; set; }

        public string TemplateName { get; set; }

        public int TemplateType { get; set; }

        public List<FreightDetailResponse> DetailResponse { get; set; }
    }

    public class FreightDetailResponse
    {
        public int detailId { get; set; }

        public decimal data1 { get; set; }

        public decimal data2 { get; set; }

        public decimal data3 { get; set; }

        public decimal data4 { get; set; }

        public decimal data5 { get; set; }

        public List<Common_Area> areas { get; set; }
    }

    public class FreightSave
    {
        public int TemplateId { get; set; }

        public string TemplateName { get; set; }

        public int TemplateType { get; set; }
    }

    public class FreightDetailSave
    {
        public int detailId { get; set; }

        public decimal data1 { get; set; }

        public decimal data2 { get; set; }

        public decimal data3 { get; set; }

        public decimal data4 { get; set; }

        public decimal data5 { get; set; }

        public List<int> areas { get; set; }
    }

}
